Prune old edit stash entries from users as they create more
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 26 Mar 2019 05:26:13 +0000 (22:26 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 26 Mar 2019 18:24:56 +0000 (18:24 +0000)
commitc3348833097788dd8600e7e8cf826b217245633c
tree9245f8edf9cec0459dde8e9f4386ed086285ce33
parent480c509de5f144f5dd0e260c3879d3ab5a37bc5b
Prune old edit stash entries from users as they create more

This should reduce pressure on certain medium-large sized memcached
slabs. Pre-1.5 memcached versions have a harder time pruning expired
entries in time to avoid evictions, so it will be most useful that
scenario.

Bug: T203786
Change-Id: Ic357dbfcd9abd525b02e8d631d1344db3745d24c
includes/api/ApiStashEdit.php